package com.guli.gulimall.gulimallproduct.feign;

import com.guli.common.utils.R;
import com.guli.to.SkuHasStockVo;
import com.guli.to.SkureductionTo;
import com.guli.to.SpuBoundsTo;
import io.swagger.annotations.ApiOperation;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;

@FeignClient(value = "gulimallWareS")
public interface WareFeignService {
    @PostMapping("gulimallware/waresku/hashStock")
    @ApiOperation("根据skuid查询是否有库存")
    public  List<SkuHasStockVo>  hashStock(@RequestBody List<Long> sku_ids);

}
